package com.jeegit.ecms.front;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.ui.ModelMap;

import com.jeegit.common.utils.UserUtils;
import com.jeegit.ecms.utils.ECMSUtils;

public class BaseController {


    protected void initSite(String breadName,ModelMap model) {
	model.put("siteHits", ECMSUtils.getSiteAccessCount());
	model.put("breadcrumb",breadName);
	model.put("currentUser",UserUtils.getCurrentUser());
    }
}
